package cn.lcfms.app.index.controller;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import cn.lcfms.app.BaseController;

public class IndexBaseController extends BaseController{	
	/**
	 * 该方法将在执行控制器之前被执行
	 * @throws Exception 
	 */
    @Override
    protected void beforeProtected(HttpServletRequest request,HttpServletResponse response){
    	super.beforeProtected(request,response);
    	String basePath=(String) request.getAttribute("APP");
    	request.setAttribute("JS", basePath+"statics/index/js/"); 
    	request.setAttribute("CSS", basePath+"statics/index/css/"); 
    	request.setAttribute("IMG", basePath+"statics/index/images/");   
    	request.setAttribute("FILE", basePath+"statics/index/file/");   
    }  
}
